import http from "../utils/http/http";

const getProdMonitor = (data) => {
    return http.get("/homepage/ProdMonitor/", data);
};
const getPDIStatus = (data) => {
    return http.get("/homepage/PDIStatus/", data);
};
const getCarSpeed = (data) => {
    return http.get("/homepage/CarSpeed/", data);
};
const getRoad1 = (data) => {
    return http.get("/homepage/Road1/", data);
};
const getRoad2 = (data) => {
    return http.get("/homepage/Road2/", data);
};
const getLiquidLevel = (data) => {
    return http.get("/homepage/LiquidLevel/", data);
};
const getLiquidTemp = (data) => {
    return http.get("/homepage/LiquidTemp/", data);
};
const getPress = (data) => {
    return http.get("/homepage/Press/", data);
};
const getWarnAndDiag = (data) => {
    return http.get("/homepage/WarnAndDiag/", data);
};

export default {
    getProdMonitor,getPDIStatus,getCarSpeed,getRoad1,getRoad2,getLiquidLevel,getLiquidTemp,getPress,
    getWarnAndDiag
}